diff-hl-dired: Handle nested file paths#270
Conversation
|
I've tried to add hook: (add-hook 'dired-subtree-after-insert-hook #'diff-hl-dired-update)But I got an error: When I'm not an elisp expert, but replacing |
fc8eb63 to
0a3df52
Compare
Resolved by introducing a Also moved |
- Support multi-level nested paths in VC status (e.g. a/b/c.txt) - Debounce concurrent VC process calls with state machine (nil/running/pending) - Move diff-hl-dired-clear to diff-hl-dired-highlight-items to avoid flicker - Pass basename and full path to dired-goto-file-1 for nested entries
0a3df52 to
40ea903
Compare
I've made that changes to integrate
diff-hl-diredwithdired-subtreeSome details how it works before and how it'll work after
context:
We have some changes by paths:
before: highlight only first level

after: highlight first and nested paths

Notes
For better integration with
dired-subreewe can add this hook: